<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
<link href='/nems/fullcalendar/fullcalendar.css' rel='stylesheet'/>
<link href='/nems/fullcalendar/fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='/nems/fullcalendar/jquery-1.9.1.min.js'></script>
<script src='/nems/fullcalendar/jquery-ui-1.10.2.custom.min.js'></script>
<script src='/nems/fullcalendar/fullcalendar.min.js'></script>
<script>
	var json = ${requestScope.json};
	$(document).ready(function() {
		$('#calendar').fullCalendar({
		
			editable: true,
			
			events: json,
			
			loading: function(bool) {
				if (bool) $('#loading').show();
				else $('#loading').hide();
			}
			
		});
		
	});

</script>

<style type="text/css">
#info {
	font-family: 맑은 고딕, dotum, sans-serif, bold;
	font-size: 13px
}
</style>
<style>

	body {
		font-size: 14px;
		font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
		}
		
	#loading {
		position: absolute;
		top: 5px;
		right: 5px;
		}

	#calendar {
		margin-top: 50px;
		width: 570px;
		}

</style>
<style type="text/css">
<!--
@import url("css/style.css");
-->
</style>
</head>
<body>

<div id="info">
		<br>
		<table align="left" style="margin-left: 20px">

			<tr>
				<td><img src="/nems/attendInfo/img/checkin.png" width="40"
					alt="출결정보분석" /></td>

				<td>
					<h4
						style="font-weight: bold; color: #005700; text-align: left; font-size: 20px;">${param.custName}님의
						출석정보조회</h4>
				</td>
			</tr>

		</table>
		<br> <br> 
	</div>

<a href="personalAttendInfoExcelDown.attendInfo?custId=${param.custId}&courseId=${sessionScope.courseId}">
<img border="0" align="left" style="margin-left: 560px; margin-bottom: 20px;" src="/nems/attendInfo/img/excel_save.png"></a>

<div id='loading' style='display:none'>loading...</div>
<div id='calendar' align="left"></div>

<a href="javascript:history.go(-1)" style="margin-left: 10px; margin-top:20px; width: 75px; height: 20px;" class="css_btn_class">이전화면으로</a>

</body>
</html>
